﻿namespace Puppy.Scheduler.Processors
{
    /// <summary>
    /// 任务上下文
    /// </summary>
    public class TaskContext
    {
        public long JobId { get; set; }

        public long InstanceId { get; set; }

        public long SubInstanceId { get; set; }

        public string TaskId { get; set; }

        public string TaskName { get; set; }

        public string JobParams { get; set; }

        public string InstanceParams { get; set; }

        public int MaxRetryTimes { get; set; }

        public int CurrentRetryTimes { get; set; }

        public object SubTask { get; set; }

        public object UserContext { get; set; }
    }
}
